package com.yuexun.beilunpatient.ui.registration.api;

import java.util.Map;

import retrofit.http.FieldMap;
import retrofit.http.FormUrlEncoded;
import retrofit.http.POST;
import rx.Observable;

/**
 * Created by chenss on 2018/11/23.
 */
public interface RegistrationPayApi {

    //生成预约挂号支付订单号
    @FormUrlEncoded
    @POST("generatePayOrder.json")
    Observable<String> generatePayOrder(@FieldMap Map<String, String> praise);

    //返回支付结果
    @FormUrlEncoded
    @POST("insurePayResult.json")
    Observable<String> insurePayResult(@FieldMap Map<String, String> praise);
}
